﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MainTemplate.Master" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="SmartCounters.Login" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ScriptsAndStylesPlaceHolder" runat="server">
	<link rel="stylesheet" type="text/css" href="css/Login.css" />
	<script type="text/javascript" src="/Scripts/Login.js"></script>
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="TitleContentPlaceHolder" runat="server">
Smart Counter Login
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContentPlaceHolder" runat="server">
<asp:UpdatePanel ID="LoginUpdatePanel" runat="server">
<ContentTemplate>
	<fieldset class="LoginFieldset shadow">
		<legend>Login Details</legend>
		<div>
			<asp:Label ID="Label1" runat="server">Username: </asp:Label>
		</div>
		<div>
			<asp:TextBox class="TextBox" ID="txtUserName" runat="server"></asp:TextBox>
		</div>

		<div>
			<asp:Label ID="Label2" runat="server">Password: </asp:Label>
		</div>
		<div>
			<asp:TextBox class="PasswordBox" ID="txtPassword" TextMode="Password" runat="server"></asp:TextBox>
		</div>
		<div>
			<asp:Label class="ErrorMessage" ID="lblErrorText" runat="server" />
		</div>
		<div>
			<asp:Button class="Button" ID="btLogin" Text="Login" OnClick="CommitLogin" runat="server"  />
		</div>
	</fieldset>
</ContentTemplate>
</asp:UpdatePanel>
<asp:UpdateProgress ID="UpdateProgress1" AssociatedUpdatePanelID="LoginUpdatePanel" runat="server">
<ProgressTemplate>
<div class="modalBackground">
	<div class="modalImageContainer"><img alt="Page Loading" class="PageLoading" src="/images/PageLoading.gif" /></div>
	<div class="modalTextContainer">Please Wait...</div>
</div>
</ProgressTemplate> 
</asp:UpdateProgress>

</asp:Content>
